-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gear/joh 54 johnjud gateway image endopint #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, Image needs one more endpoint: AssignPet: POST /image/assign/:pet_id
(FindByPetId doesn't have to be an endpoint as we'll call it in backend's pet service, but you don't have to remove the code).
Also, I think main.go
still doesn't have these set as endpoints.
Please also add Upload, Delete, AssignPet paths to AdminPath
and FindByPetId to ExcludePath
in auth.constant.go
the end point you want me to remove in |
Yes, remove only FindByPetId and add AssignPet. You can signup, then signin, get the token, add it in auth section of postman (bearer token), no need to add |
I think no need to use `/assign/:pet_id` because they're already in body request
Change made
Describe what you have done
New Features
Fix
Others